package com.guoguo.enums;


/**
 * Created by Administrator on 2017/8/15 0015.
 */
public enum TaskEnum {
    SUCCESS(200, "成功"),
    ERROR(201, "系统异常"),
    RECEIVE_SUCCESS(200, "领取成功"),
    GIFT_ERROR(202, "请输入正确礼包类型"),
    REPEAT_RECEIVE(203, "当天礼包已领取,不要太贪心哦！"),
    RECEIVE_ERROR(204,"领取失败"),
    INCONFORMITY_ERROR(205,"不符合礼包领取条件！");
    

    private int id;
    private String value;


    TaskEnum(int id, String value) {
        this.id = id;
        this.value = value;
    }


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
